import request from '@/utils/request'

export function updateWarehouseTaskForClaim(data) {
  return request({
    url: '/api/wms/task/update_claim',
    method: 'post',
    data
  })
}

export function getWarehouseTask(data) {
  return request({
    url: '/api/wms/task/get',
    method: 'post',
    data
  })
}

export function pageWarehouseTask(data) {
  return request({
    url: '/api/wms/task/page',
    method: 'post',
    data
  })
}

export function listPreOptions() {
  return request({
    url: '/api/wms/task/list_pre_options',
    method: 'get'
  })
}
